# 基础镜像使用java
FROM java:8
# 将jar包添加到容器中并更名为app.jar
ADD base.jar base.jar
# 运行jar包
RUN bash -c 'touch /base.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/base.jar"]